package com.mashibing.service.impl;

import com.mashibing.internalcommon.dto.ResponseResult;
import com.mashibing.internalcommon.request.VerificationCodeDTO;
import com.mashibing.remote.DriverUserClient;
import com.mashibing.service.VerificationCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VerificationCodeServiceImpl implements VerificationCodeService {

    @Autowired
    private DriverUserClient driverUserClient;

    @Override
    public ResponseResult checkVerificationCode(VerificationCodeDTO verificationCodeDTO) {
        return driverUserClient.checkVerificationCode(verificationCodeDTO);
    }
}
